package com.hns.can.mainte.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.hns.can.common.entity.BaseEntity;

/**
 * 车辆体检报告
 * @author:yecb
 * @email:lps00@163.com
 * @version Revision 2.0.0
 */

@Entity
@Table(name = "T_APP_CAR_EXAM_REPORT")
public class AppCarExamReportEntity extends BaseEntity {
	
	private static final long serialVersionUID = -9003334927235471780L;
	@Id
    @Column(name = "RCRD_ID")
	private String id;
	
	@Column(name = "CORP_ID")
 	private java.lang.String corp_id; //企业ID
 	
	@Column(name = "LINE_ID")
	private java.lang.String line_id; //线路ID 
	
	@Column(name = "CAR_ID")
	private java.lang.String car_id; //车辆ID 
	
	@Column(name = "EXAM_TIME")
	private java.lang.String exam_time; //体检时间 
	
	@Column(name = "MFT_TOTAL")
	private BigDecimal mft_total; //故障总数 
	
	@Column(name = "BERESOLVE")
	private BigDecimal beresolve; //已解决 
	
	@Column(name = "RESOLVE")
	private BigDecimal resolve; //未解决 
	
	@Column(name = "CRT_TIME")
	private java.util.Date crt_time; //创建时间 
	
	@Column(name = "CRT_USER")
	private java.lang.String crt_user; //创建人 
	
	@Column(name = "UPDATE_TIME")
	private java.util.Date update_time; //更新时间 
	
	@Column(name = "UPDATE_USER")
	private java.lang.String update_user; //更新人 
	@Transient
    private BigDecimal carNum;
	@Transient
    private String licPltNo;
	@Transient
    private String lineName;
	@Transient
	private String ecuMftCode;
	@Transient
	private String rcrdDate;
	@Transient
	private String ecuMftName;
	@Transient
	private String mftTypeName;
	
	public static final String CORP_ID = "corp_id";
	public static final String LINE_ID = "line_id";
	public static final String CAR_ID = "car_id";
	public static final String EXAM_TIME = "exam_time";
	public static final String MFT_TOTAL = "mft_total";
	public static final String BERESOLVE = "beresolve";
	public static final String RESOLVE = "resolve";
	public static final String CRT_TIME = "crt_time";
	public static final String CRT_USER = "crt_user";
	public static final String UPDATE_TIME = "update_time";
	public static final String UPDATE_USER = "update_user";
	
	public AppCarExamReportEntity(){
	}
	
	public String getRcrdDate() {
		return rcrdDate;
	}

	public void setRcrdDate(String rcrdDate) {
		this.rcrdDate = rcrdDate;
	}

	public String getEcuMftCode() {
		return ecuMftCode;
	}

	public void setEcuMftCode(String ecuMftCode) {
		this.ecuMftCode = ecuMftCode;
	}

	public BigDecimal getCarNum() {
		return carNum;
	}

	public void setCarNum(BigDecimal carNum) {
		this.carNum = carNum;
	}

	public java.lang.String getCorpId() {
		return this.corp_id;
	}

	public void setCorpId(java.lang.String value) {
		this.corp_id = value;
	}

	public java.lang.String getLineId() {
		return this.line_id;
	}

	public void setLineId(java.lang.String value) {
		this.line_id = value;
	}

	public java.lang.String getCarId() {
		return this.car_id;
	}

	public void setCarId(java.lang.String value) {
		this.car_id = value;
	}

	public java.lang.String getExamTime() {
		return this.exam_time;
	}

	public void setExamTime(java.lang.String value) {
		this.exam_time = value;
	}

	public BigDecimal getMftTotal() {
		return this.mft_total;
	}

	public void setMftTotal(BigDecimal value) {
		this.mft_total = value;
	}

	public BigDecimal getBeresolve() {
		return this.beresolve;
	}

	public void setBeresolve(BigDecimal value) {
		this.beresolve = value;
	}

	public BigDecimal getResolve() {
		return this.resolve;
	}

	public void setResolve(BigDecimal value) {
		this.resolve = value;
	}

		
	public Date getCrtTime() {
		return  this.crt_time;
	}
	public void setCrtTime(Date value) {
		this.crt_time = value;
	}
		
	public java.lang.String getCrtUser() {
		return this.crt_user;
	}

	public void setCrtUser(java.lang.String value) {
		this.crt_user = value;
	}

		
	public Date getUpdateTime() {
		return  this.update_time;
	}
	public void setUpdateTime(Date value) {
		this.update_time = value;
	}
		
	public java.lang.String getUpdateUser() {
		return this.update_user;
	}

	public void setUpdateUser(java.lang.String value) {
		this.update_user = value;
	}

	public java.lang.String getCorp_id() {
		return corp_id;
	}

	public void setCorp_id(java.lang.String corp_id) {
		this.corp_id = corp_id;
	}

	public java.lang.String getLine_id() {
		return line_id;
	}

	public void setLine_id(java.lang.String line_id) {
		this.line_id = line_id;
	}

	public java.lang.String getCar_id() {
		return car_id;
	}

	public void setCar_id(java.lang.String car_id) {
		this.car_id = car_id;
	}

	public java.lang.String getExam_time() {
		return exam_time;
	}

	public void setExam_time(java.lang.String exam_time) {
		this.exam_time = exam_time;
	}

	public BigDecimal getMft_total() {
		return mft_total;
	}

	public void setMft_total(BigDecimal mft_total) {
		this.mft_total = mft_total;
	}

	public java.util.Date getCrt_time() {
		return crt_time;
	}

	public void setCrt_time(java.util.Date crt_time) {
		this.crt_time = crt_time;
	}

	public java.lang.String getCrt_user() {
		return crt_user;
	}

	public void setCrt_user(java.lang.String crt_user) {
		this.crt_user = crt_user;
	}

	public java.util.Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(java.util.Date update_time) {
		this.update_time = update_time;
	}

	public java.lang.String getUpdate_user() {
		return update_user;
	}

	public void setUpdate_user(java.lang.String update_user) {
		this.update_user = update_user;
	}

	public String getPKFieldName() {
		return "corp_id";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLicPltNo() {
		return licPltNo;
	}

	public void setLicPltNo(String licPltNo) {
		this.licPltNo = licPltNo;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getEcuMftName() {
		return ecuMftName;
	}

	public void setEcuMftName(String ecuMftName) {
		this.ecuMftName = ecuMftName;
	}

	public String getMftTypeName() {
		return mftTypeName;
	}

	public void setMftTypeName(String mftTypeName) {
		this.mftTypeName = mftTypeName;
	}
	
	
	
}
